package hoang.hut.networkdemo.network;

import org.apache.http.HttpResponse;

/**
 * interface lang nghe su kien trong qua trinh load data
 * 
 * @author hoangnv
 *
 */
public interface AsyncHttpResponseListener {

	/**
	 * duoc goi khi bat dau qua trinh load data
	 */
	public void before();
	
	/**
	 * duoc goi khi load xong data
	 * 
	 * @param statusCode
	 * @param response
	 */
	public void after(int statusCode, HttpResponse response);
}
